package com.dev.security.manager.dao;

import org.springframework.data.jpa.repository.Query;

import com.dev.security.config.dao.BaseRepository;
import com.dev.security.manager.beans.Role;

/**
 * @author 潜行的青衣
 * @see
 */
public interface RoleRepository extends BaseRepository<Role, String> {

	@Query("select count(r) from Role r where id=?1")
	public long count(String id);
	
}
